#!/usr/bin/env bash

curl -O https://apt.puppetlabs.com/puppetlabs-release-pc1-xenial.deb
sudo dpkg -i puppetlabs-release-pc1-xenial.deb
sudo apt-get update
sudo apt-get install puppetserver
sudo ufw allow 8140
sudo systemctl start puppetserver
sudo systemctl enable puppetserver